vfs: Avoid ABI change for dentry union changes
authorBen Hutchings <ben@decadent.org.uk>
Mon, 12 Jan 2015 04:54:59 +0000 (04:54 +0000)
committerBen Hutchings <ben@decadent.org.uk>
Fri, 16 Jan 2015 00:15:12 +0000 (00:15 +0000)
commit679822ba873c4939e3f853e47de65545fe2d6c48
treefede5734acb714ea40b2d2cd4198e5eaaa288dff
parentaccce744cc5fcf06d422715ced01da1a78e258a2
vfs: Avoid ABI change for dentry union changes

Commit 946e51f2bf37f1656916eb75bd0742ba33983c28 ("move d_rcu from
overlapping d_child to overlapping d_alias") looks disruptive and
it is an API change since the union is named.  However, it doesn't
actually move anything that modules need, so it is not an ABI
change and we can safely hide it from genksysms.

Verify this by adding an unused function with some BUILD_BUG_ONs
to assert the size and alignment of fields remain the same.

Gbp-Pq: Topic debian
Gbp-Pq: Name vfs-avoid-abi-change-for-dentry-union-changes.patch
fs/dcache.c
include/linux/dcache.h